package com.heima.utils.thread;

import com.heima.model.user.pojos.ApUser;
import com.heima.model.wemedia.pojos.WmUser;

public class ApThreadLocalUtil {

    private static final ThreadLocal<ApUser>  threadLoacl=  new ThreadLocal<>();

    public static void set(ApUser apUser){
        threadLoacl.set(apUser);
    }


    public static ApUser get(){
        return threadLoacl.get();
    }


    public static void remove(){
        threadLoacl.remove();
    }
}
